namespace SmartBoard.Core.Server
{
    public class ServerMessage:IServerMessage
    {
        #region Ctor
        public ServerMessage(byte messageTargetModule, int messageId, byte[] payload)
        {
            this.MessageTargetModuleId = messageTargetModule;
            this.MessageId = messageId;
            this.Payload = payload;
        }
        #endregion

        #region Implementation of IServerMessage

        public byte MessageTargetModuleId
        {
            get; private set;
        }

        public int MessageId
        {
            get; private set;
        }

        public byte[] Payload
        {
            get; private set;
        }

        #endregion
    }
}